package cn.tedu.sk.entity;

import javax.validation.constraints.NotNull;

import java.io.Serializable;

import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

/**
* 商品类别表
* @TableName product_type
*/
public class ProductType implements Serializable {

    /**
    * 
    */
    @NotNull(message="[]不能为空")
    @ApiModelProperty("")
    private Integer pTypeId;
    /**
    * 商品id
    */
    @ApiModelProperty("商品id")
    private Integer pId;
    /**
    * 
    */
    @ApiModelProperty("")
    private Date createTime;
    /**
    * 
    */
    @ApiModelProperty("")
    private Date modifiedTime;

    /**
    * 
    */
    private void setPTypeId(Integer pTypeId){
    this.pTypeId = pTypeId;
    }

    /**
    * 商品id
    */
    private void setPId(Integer pId){
    this.pId = pId;
    }

    /**
    * 
    */
    private void setCreateTime(Date createTime){
    this.createTime = createTime;
    }

    /**
    * 
    */
    private void setModifiedTime(Date modifiedTime){
    this.modifiedTime = modifiedTime;
    }


    /**
    * 
    */
    private Integer getPTypeId(){
    return this.pTypeId;
    }

    /**
    * 商品id
    */
    private Integer getPId(){
    return this.pId;
    }

    /**
    * 
    */
    private Date getCreateTime(){
    return this.createTime;
    }

    /**
    * 
    */
    private Date getModifiedTime(){
    return this.modifiedTime;
    }

}
